package com.xdxc.service.strategy.gradingstrategy;



import com.xdxc.model.dto.CorrectAnswerDTO;
import com.xdxc.model.entity.GradingResult;
import com.xdxc.model.entity.TempUserAnswer;

import java.util.List;

public interface GradingStrategy {
    /**
     * 执行批改
     * @param tempUserAnswer 用户答案
     * @param correctAnswerDTO 正确答案
     * @return 批改结果
     */
    GradingResult grade(TempUserAnswer tempUserAnswer, CorrectAnswerDTO correctAnswerDTO);


}